package com.yike.base.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface QrcodeService {

    String generate(String text, String remark, Integer width, Integer height) throws Exception;

    String generateWithLogo(MultipartFile file, String text, String remark, Integer width, Integer height) throws Exception;

    void download(HttpServletResponse response, String code) throws Exception;
}
